ArcPad Preferences File Schema
POLYLINE Element
See Also  Send comments on this topic.
ArcPad Preferences File Schema > ArcPad Element > PREFERENCES Element > GREEKING Element : POLYLINE Element

Glossary Item Box

Diagram

POLYLINE Element

Overview

color optional xs:string
greeking optional Restriction of xs:string
threshold1 optional Restriction of xs:int
threshold2 optional Restriction of xs:int
threshold3 optional Restriction of xs:int
threshold4 optional Restriction of xs:int

Attributes

NameTypeUseDefaultFixedDescription
colorxs:stringoptional   
greekingRestriction of xs:stringoptionaltrue  
threshold1Restriction of xs:intoptional3  
threshold2Restriction of xs:intoptional8  
threshold3Restriction of xs:intoptional0  
threshold4Restriction of xs:intoptional0  

Remarks

  • Each threshold is slower to draw than the one before (that is, 1 is the fastest greeking drawing style and 4 is the slowest greeking drawing style).
  • Above the highest threshold used for polylines, the actual polyline symbol will be drawn.
  • The greeking thresholds are in screen pixel units. The extents of each feature in screen pixels is checked against the threshold values. The lowest threshold that the pixel extent falls below will be used to determine the greeking drawing method applied.
  • A threshold with the value 0 will not be used.

Examples

Restrictions

Each threshold must have a greater value than the one before for greeking to work properly (for example, if threshold1 is 2, then threshold2 must be 3 or greater).

Source

<xs:element name="POLYLINE" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:attribute default="128,128,128" ref="color">
      <xs:annotation>
        <xs:documentation>Specifies the default greeking color for polyline geometry.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="true" ref="greeking">
      <xs:annotation>
        <xs:documentation>Flag that determines whether polyline geometry will be greeked.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="1" ref="threshold1">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polyline features as single pixels.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="4" ref="threshold2">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polyline features as greeking colored hairlines.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="8" ref="threshold3">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polyline features using their actual symbols' greeking styles.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="0" ref="threshold4">
      <xs:annotation>
        <xs:documentation>Not used.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.